package com.core.zyyz.amc.modules.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 维度定义对象 amc_system_dimension_b
 *
 * @author LiuFushun
 * @date 2024-11-05
 */
public class AmcSystemDimensionB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维度id */
    private String dimensionId;

    /** 维度名称 */
    @Excel(name = "维度名称")
    private String dimensionName;

    /** 维度类型（0-树，1-字典，2-选择带回（系统），3-集值 ） */
    @Excel(name = "维度类型", readConverterExp = "0=-树，1-字典，2-选择带回")
    private String dimensionType;

    /** 参数 */
    @Excel(name = "参数")
    private String dimensionKey;

    /** url */
    @Excel(name = "url")
    private String dimensionUrl;

    /** 备注 */
    @Excel(name = "备注")
    private String dimensionDesc;

    /** 负责人编号 */
    @Excel(name = "负责人编号")
    private String ownerId;

    /** 负责人部门编号 */
    @Excel(name = "负责人部门编号")
    private String owningBusinessUnit;

    /** 创建人编号 */
    @Excel(name = "创建人编号")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 最后一次修改人编号 */
    @Excel(name = "最后一次修改人编号")
    private String lastUpdatedBy;

    /** 最后一次修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后一次修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后登录人编号 */
    @Excel(name = "最后登录人编号")
    private String lastUpdateLogin;

    public void setDimensionId(String dimensionId)
    {
        this.dimensionId = dimensionId;
    }

    public String getDimensionId()
    {
        return dimensionId;
    }
    public void setDimensionName(String dimensionName)
    {
        this.dimensionName = dimensionName;
    }

    public String getDimensionName()
    {
        return dimensionName;
    }
    public void setDimensionType(String dimensionType)
    {
        this.dimensionType = dimensionType;
    }

    public String getDimensionType()
    {
        return dimensionType;
    }
    public void setDimensionKey(String dimensionKey)
    {
        this.dimensionKey = dimensionKey;
    }

    public String getDimensionKey()
    {
        return dimensionKey;
    }
    public void setDimensionUrl(String dimensionUrl)
    {
        this.dimensionUrl = dimensionUrl;
    }

    public String getDimensionUrl()
    {
        return dimensionUrl;
    }
    public void setDimensionDesc(String dimensionDesc)
    {
        this.dimensionDesc = dimensionDesc;
    }

    public String getDimensionDesc()
    {
        return dimensionDesc;
    }
    public void setOwnerId(String ownerId)
    {
        this.ownerId = ownerId;
    }

    public String getOwnerId()
    {
        return ownerId;
    }
    public void setOwningBusinessUnit(String owningBusinessUnit)
    {
        this.owningBusinessUnit = owningBusinessUnit;
    }

    public String getOwningBusinessUnit()
    {
        return owningBusinessUnit;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreationDate(Date creationDate)
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate()
    {
        return creationDate;
    }
    public void setLastUpdatedBy(String lastUpdatedBy)
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getLastUpdatedBy()
    {
        return lastUpdatedBy;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateLogin(String lastUpdateLogin)
    {
        this.lastUpdateLogin = lastUpdateLogin;
    }

    public String getLastUpdateLogin()
    {
        return lastUpdateLogin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dimensionId", getDimensionId())
                .append("dimensionName", getDimensionName())
                .append("dimensionType", getDimensionType())
                .append("dimensionKey", getDimensionKey())
                .append("dimensionUrl", getDimensionUrl())
                .append("dimensionDesc", getDimensionDesc())
                .append("ownerId", getOwnerId())
                .append("owningBusinessUnit", getOwningBusinessUnit())
                .append("createdBy", getCreatedBy())
                .append("creationDate", getCreationDate())
                .append("lastUpdatedBy", getLastUpdatedBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateLogin", getLastUpdateLogin())
                .toString();
    }
}
